package drds.binlog.parse.inbound;

import drds.binlog.common.LifeCycle;
import drds.binlog.parse.exception.BinlogParseException;
import drds.binlog.protocol.entry_protocol_proto.Entry;

/**
 * 解析binlog的接口
 */
public interface BinlogParser<T> extends LifeCycle
{

    Entry parse(T event, boolean isSeek) throws BinlogParseException;

    void reset();
}
